package com.JZ.QM.feign;

import com.JZ.QM.common.utils.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lyp
 * @email lyp@gmail.com
 * @date 2020/7/2 15:33
 */

@FeignClient("management-service")
public interface UserInfoFeginService {

    @RequestMapping("/management/user/getUserInfoEntity")
    CommonResult getUserInfoEntity(@RequestParam("userId") Long userId);


}
